package com.travel.group.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.travel.group.entity.Forum;
import com.travel.group.entity.Group;

import java.util.List;

/**
 * @Author Xudaoxu
 * @create 2021-05-26 2021/5/26
 */
public interface ForumService extends IService<Forum> {
    List<Forum> getByGroupIds(List<Integer> id);

    List<Forum> getAllGroupInfo(Integer page, Integer limit);

    List<Forum> getAllGroupInfoPlus(Integer page, Integer limit, String name);

    List<Forum> getAllMyGroupInfo(Integer page, Integer limit);

    Integer countData();
}
